Package-level declarations

Types

Link copied to clipboard
open class AppBarModel<T : AppBarView>(@NotNull kclazz: KClass<T>, @NotNull context: Context)

The base model class for an AppBar suggestion.

Link copied to clipboard
data class ButtonListModel(val buttonStyle: ButtonStyle, val buttonModels: List<ButtonModel>)

This data class encapsulates the style and the individual models for a list of buttons for a SuggestAppBarView or its subclass.

Link copied to clipboard
data class ButtonModel @JvmOverloads constructor(val text: String? = null, val clickListener: AppBarModel.OnClickListener? = null, val contentDescription: String? = null)

Data class for button properties of an AppBar suggestion.

Link copied to clipboard
data class ButtonStyle(@StyleRes val defStyleRes: Int, @StyleRes val defStyleResDark: Int)

Data class containing the style resources for a button or set of buttons in a AppBar suggestion view both for light and dark themes.

Link copied to clipboard
@RequiresApi(value = 23)
open class SuggestAppBarItemModel<T : SuggestAppBarItemView>(@NotNull kclazz: KClass<T>, @NotNull context: Context, @Nullable title: String?, @Nullable onClickListener: AppBarModel.OnClickListener?, @NotNull buttonListModel: ButtonListModel) : SuggestAppBarModel<T>

A model class extends SuggestAppBarModel and provides functionality to manage the data and behavior of a SuggestAppBarItemView or its subclass.

Link copied to clipboard
@RequiresApi(value = 23)
open class SuggestAppBarItemWhiteCaseModel<T : SuggestAppBarItemWhiteCaseView>(kclazz: KClass<T>, context: Context, title: String?, onClickListener: AppBarModel.OnClickListener?, buttonListModel: ButtonListModel) : SuggestAppBarItemModel<T>

A model for the SuggestAppBarItemWhiteCaseView. This class extends SuggestAppBarItemModel and is specifically designed for views that have a white background and require specific styling for their buttons and title.

Link copied to clipboard
@RequiresApi(value = 23)
open class SuggestAppBarModel<T : SuggestAppBarView>(@NotNull kclazz: KClass<T>, @NotNull context: Context, @NotNull val title: String?, @NotNull val closeClickListener: AppBarModel.OnClickListener?, val buttonListModel: ButtonListModel) : AppBarModel<T>

This model class extends AppBarModel and provides functionality to manage the data and behavior of a SuggestAppBarView or its subclass which designed to show a single suggestion or action page. This class provides functionality to set the title, define action buttons, and handle click events for both the close button and the action buttons.

Link copied to clipboard
open class ViewPagerAppBarModel<T : ViewPagerAppBarView>(kclazz: KClass<T>, context: Context, appBarModels: List<AppBarModel<out AppBarView>>) : AppBarModel<T>

This model class extends AppBarModel and provides functionality to manage the data and behavior of a ViewPagerAppBarView or its subclass.